import CrudTableColumn from './components/CrudTableColumn/index.js';
import CrudTable from './components/CrudTable/index.js';
import CrudRightToolbar from './components/CrudRightToolbar/index.js';
import Crud from './components/Crud/index.js';
import CrudQueryForm from './components/CrudQueryForm/index.js';
import EnhSelect from './components/EnhSelect/index.js';

const components = {
  CrudTableColumn,
  CrudTable,
  CrudRightToolbar,
  Crud,
  CrudQueryForm,EnhSelect
};

export default {
  install(Vue) {
    Object.keys(components).forEach((name) => {
      Vue.component(name, components[name]);
    });
  },
};

export { 
  CrudTableColumn,
  CrudTable,
  CrudRightToolbar,
  Crud,
  CrudQueryForm,
  EnhSelect
};
